package cn.edu.zut.logistics.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("income_expense_metrics")
public class IncomeExpenseMetrics {

    @TableId("metric_id")
    private Integer metricId;

    @TableField("statistics_date")
    private LocalDate statisticsDate;

    @TableField("income_amount")
    private BigDecimal incomeAmount;

    @TableField("expense_amount")
    private BigDecimal expenseAmount;

    @TableField("net_income")
    private BigDecimal netIncome;

    @TableField("income_type")
    private String incomeType;

    @TableField("expense_type")
    private String expenseType;

    @TableField("create_time")
    private LocalDateTime createTime;
}